package demo;

/**
 * @Author Klys
 * @Date 2023/3/9 14:10
 * @Description
 * @Version 1.0
 */
public class Person {

    @MyBean("klys")
    private String name;

    @MyBean("klys")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Person(String name, String sex) {
        this.name = name;
        this.sex = sex;
    }

    public Person() {

    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }

    private String sex;
}
